# https://gitee.com/yueyinqiu5990/tj12413601/blob/master/assignment1/question3/interpolation_method.py
import abc
import typing


class InterpolationMethod1d(abc.ABC):
    @abc.abstractmethod
    def interpolate(
            self,
            points: list[tuple[float, float]]) \
            -> typing.Callable[[float], float]:
        raise NotImplementedError
